﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CTPAdapter;

namespace CTPDemo.Md
{
    interface MdApiInter
    {
        /// <summary>
        /// 用户登录请求
        /// <summary>
        void ReqUserLogin();

        /// <summary>
        /// 行情订阅请求
        /// <summary>        
        void SubscribeMarketData();

        /// <summary>
        /// 退订行情
        /// <summary>        
        void UnSubscribeMarketData(); 

        /// <summary>
        /// 删除接口对象本身
        /// <summary>     
        void Release();

		/// <summary>
		/// 登出请求
		/// <summary>
        void ReqUserLogout();
        
        ///// <summary>
        /////  是否收到成功的响应
        ///// <summary>  
        //bool IsErrorRspInfo(CSCThostFtdcRspInfoField pRspInfo);



    }
}
